package com.parkingspace.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户与钱包中间表
 * </p>
 *
 * @author Gapper
 * @since 2021-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WalletUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "wu_id", type = IdType.ASSIGN_ID)
    private Long wuId;

    /**
     * 钱包id
     */
    @TableField("wallet_Id")
    private Long walletId;

    /**
     * 用户id
     */
    private Long uid;

    /**
     * 角色id
     */
    private Long rid;


}
